import 'package:json_annotation/json_annotation.dart'; 
  
part 'we_info_model.g.dart';


@JsonSerializable()
  class WeInfoModel extends Object {

  @JsonKey(name: 'code')
  int code;

  @JsonKey(name: 'message')
  String message;

  @JsonKey(name: 'data')
  Data data;

  WeInfoModel(this.code,this.message,this.data,);

  factory WeInfoModel.fromJson(Map<String, dynamic> srcJson) => _$WeInfoModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$WeInfoModelToJson(this);

}

  
@JsonSerializable()
  class Data extends Object {

  @JsonKey(name: 'my_info')
  My_info myInfo;

  @JsonKey(name: 'lover_info')
  Lover_info loverInfo;

  @JsonKey(name: 'relation_info')
  Relation_info relationInfo;

  Data(this.myInfo,this.loverInfo,this.relationInfo,);

  factory Data.fromJson(Map<String, dynamic> srcJson) => _$DataFromJson(srcJson);

  Map<String, dynamic> toJson() => _$DataToJson(this);

}

  
@JsonSerializable()
  class My_info extends Object {

  @JsonKey(name: 'nickname')
  String nickname;

  @JsonKey(name: 'headimgurl')
  String headimgurl;

  @JsonKey(name: 'birthday')
  int birthday;

  My_info(this.nickname,this.headimgurl,this.birthday,);

  factory My_info.fromJson(Map<String, dynamic> srcJson) => _$My_infoFromJson(srcJson);

  Map<String, dynamic> toJson() => _$My_infoToJson(this);

}

  
@JsonSerializable()
  class Lover_info extends Object {

  @JsonKey(name: 'nickname')
  String nickname;

  @JsonKey(name: 'headimgurl')
  String headimgurl;

  @JsonKey(name: 'birthday')
  int birthday;

  Lover_info(this.nickname,this.headimgurl,this.birthday,);

  factory Lover_info.fromJson(Map<String, dynamic> srcJson) => _$Lover_infoFromJson(srcJson);

  Map<String, dynamic> toJson() => _$Lover_infoToJson(this);

}

  
@JsonSerializable()
  class Relation_info extends Object {

  @JsonKey(name: 'love_day')
  int loveDay;

  @JsonKey(name: 'love_declaration')
  String loveDeclaration;

  Relation_info(this.loveDay,this.loveDeclaration,);

  factory Relation_info.fromJson(Map<String, dynamic> srcJson) => _$Relation_infoFromJson(srcJson);

  Map<String, dynamic> toJson() => _$Relation_infoToJson(this);

}

  
